package mundo;

public class CtCdt 
{	
	private int 	mes;
	private double dinero;
	private double interes;
	
	public double clacularCDT(double dinero,double interes,int mes)
	{
		double saldo=(dinero*interes*mes)+dinero;
		return saldo;
	}
	
	public void crearCDT()
	{
		this.dinero= 0;
		this.interes=0;
	}
	
	public void cerrarCDT()
	{
		this.dinero=0;
	}

	
	public void mostrarInfCDT()
	{
		System.out.println("Valor CDT"+this.dinero);

	}

	public void crearInversion(double dinero, double interes)
	{
		this.dinero= dinero;
		this.interes=interes;
	}

	public double getDinero() {
		return dinero;
	}

	public void setDinero(double dinero) {
		this.dinero = dinero;
	}

	public double getInteres() {
		return interes;
	}

	public void setInteres(double interes) {
		this.interes = interes;
	}

}
